package com.zenith.article.po.domain;

import com.zenith.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章标签实体", description = "文章标签实体")
public class ArtTag extends BaseEntity {
    
    @Schema(description = "标签名称")
    private String name;
    
    @Schema(description = "标签颜色 HEX")
    private String color;
    
    @Schema(description = "标签描述")
    private String description;
    
    @Schema(description = "被引用次数")
    private Integer refCount;
    
    @Schema(description = "状态：1-启用 0-停用")
    private Integer status;
}